package com.util;

import com.actor.AkkaSystem;
import com.handler.WorldOneHandler;
import com.handler.WorldTwoHandler;
import com.handler.manager.GameServerPacketHandlerManager;
import com.typesafe.config.ConfigFactory;

import akka.actor.ActorSystem;

public class BeanUtil {

	public static final GameServerPacketHandlerManager snetPacketHandlerManager = new GameServerPacketHandlerManager();
	
	//public static final ActorSystem system = ActorSystem.create("akkaClusterTest", ConfigFactory.load("reference.conf"));
	
	public static AkkaSystem akkaSystem;
	
	public static void init(){
		new WorldOneHandler();
		new WorldTwoHandler();
		akkaSystem = new AkkaSystem();
	}
}
